SmartCrawl\Controllers\Primary_Terms S

Total Complexity 49
Dependencies 4
Dependents 3
Total lines 407
Lines of code 221
Logical lines of code 95
Comment lines 118
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
register_primary_category()
A
45 7 45
make_primary_term()
S
58 6 15
get_post_taxonomies()
S
55 5 19
post_link_category()
S
62 4 11
save_primary_term()
S
56 3 20
register_assets()
S
59 3 16
sanitize_post_type_link()
S
62 3 11
get_primary_term()
S
59 2 15
get_post_terms()
S
67 3 8
get_hierarchical_link()
S
64 3 9
save_primary_terms()
S
71 2 6
should_run()
S
78 2 3
post_type_link()
S
65 2 8
get_taxonomy_data()
S
62 1 12
init()
S
67 1 7
get_term_data()
S
72 1 6
include_selection_template()
S
68 1 10